import Login from '@/views/Login'
import Main from '@/views/Main'
import Home from '@/views/Home'

const routes = [
  {
    path: '/login',
    component: Login
  },
  {
    path: '/',
    redirect: '/home',
    component: Main,
    children: [
      {
        path: '/home',
        component: Home
      }
    ]
  }
]

export default routes
